package cn.bdqn.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.bdqn.dao.WorkorderMapper;
import cn.bdqn.pojo.Workorder;
import cn.bdqn.service.WorkorderService;

@Service("workorderService")
public class WorkorderServiceImpl implements WorkorderService {

        @Resource(name = "workorderMapper")
        private WorkorderMapper workorderM;

        @Override
        public List<Workorder> queryWList() {
                // TODO Auto-generated method stub
                return workorderM.queryWList();
        }

        @Override
        public int addWorkorder(Workorder workorder) {
                // TODO Auto-generated method stub
                return workorderM.addWorkorder(workorder);
        }

}
